import { CarouselData } from '../components';

export interface Ad {
  imgUrl: string;
  link: string;
}

export interface Product {
  status: number;
  productCount: number;
  pageSize: number;
  currentNum: number;
  data: Array<any>;
}

export interface ProductList {
  id: number;
  imgUrl: string;
  title: string;
  tags: Array<any>;
  price: number;
  order: string;
  avatar_list: Array<any>;
}
export interface ProductDetail {
  id: any;
  product_name: string;
  serviceDesc: Array<{
    title: string;
    desc: string;
  }>;
  tags: Array<{
    link: string;
    imgUrl: string;
  }>;
  banner: Array<CarouselData>;
  productDetail: Array<{
    title: string;
    price: number;
    imgUrl: string;
  }>;
  price: number;
}

export interface ReceivingOrder {
  productId: number;
  startAt: string;
  imageUrl: string;
  userName: string;
  remainingNumber: number;
}
